package com.scanner.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.scanner.dao.ScanRequestDAO;
import com.scanner.entity.ScanRequest;

@Service("scanRequestService")
public class ScanRequestService {

	@Autowired
	private ScanRequestDAO scanRequestDAO;
	
	@Transactional
	public void save(ScanRequest scanRequest){
		scanRequestDAO.makePersistent(scanRequest);
	}
}
